<template>
	<el-form-item label="可选页签">
		<el-select v-model="optionModel.authorityList" multiple>
			<el-option :label="item.label" :value="item.value" v-for="(item, index) in authorityListData"
				:key="index"></el-option>
		</el-select>
	</el-form-item>
</template>

<script>
import i18n from "@/utils/i18n"

export default {
	name: "authorityList-editor",
	mixins: [i18n],
	props: {
		designer: Object,
		selectedWidget: Object,
		optionModel: Object,
	},
	data() {
		return {
			authorityListData: [
				{
					value: 'department',
					label: '组织'
				},
				{
					value: 'group',
					label: '分组'
				},
				{
					value: 'role',
					label: '角色'
				},
				{
					value: 'post',
					label: '岗位'
				},
				// {
				// 	value: 'relativePost',
				// 	label: '相对岗位'
				// },
				{
					value: 'relativeRelation',
					label: '相对关系'
				},
				{
					value: 'circulation',
					label: '传阅'
				},
			]
		}
	}

}
</script>

<style scoped></style>